package com.five.admin.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;


import java.util.List;

/**
 * 菜单树形结构
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class MenuTreeVo {
    private Long id;
    private String name;

    private String icon;

    private String type;

    private String path;

    private String component;

    private Long parentId;

    private Integer sort;
    // 父菜单名称
    private String parentName;
    //子节点
    private List<MenuTreeVo> children;

}
